package com.jfl.base;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

/**
 * 基类Mapper 集成mybatis-plus BaseMapper
 * 
 * @author 赵炎
 * @version [V1.00, 2018年11月29日]
 * @since V1.00
 */
public interface BaseMapper<T extends BaseModel> extends com.baomidou.mybatisplus.core.mapper.BaseMapper<T>
{
    List<Long> selectIdPage(@Param("cm") T paramT);
    
    List<Long> selectIdPage(@Param("cm") Map<String, Object> paramMap);
    
    List<Long> selectIdPage(RowBounds paramRowBounds, @Param("cm") Map<String, Object> paramMap);
    
    List<Long> selectIdPage(RowBounds paramRowBounds, @Param("cm") T paramT);
    
    List<T> selectPage(RowBounds paramRowBounds, @Param("cm") Map<String, Object> paramMap);
    
    Integer selectCount(@Param("cm") Map<String, Object> paramMap);
}
